<?php

// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

return [
    //别名配置,别名只能是映射到控制器且访问时必须加上请求的方法
    '__alias__'   => [
        'getMiniOpenid'=>'api/Site/getMiniOpenid',
        'nav'=>'api/Index/nav',
        'banner'=>'api/Index/banner',
        'aboutus'=>'api/Index/aboutus',
        'address'=>'api/Index/address',
        'article'=>'api/Index/article',
        'details'=>'api/Index/details',
        'detail'=>'api/Index/detail',
        'matter'=>'api/Index/matter',
        'wxuser'=>'api/Index/wxuser',
        'unav'=>'api/Index/unav',
        'notice'=>'api/Index/notice',
        'order'=>'api/Index/order',
        'orderdetails'=>'api/Index/orderdetails',
        'myorder'=>'api/Index/myorder',
        'classify'=>'api/Index/classify',
        'paren'=>'api/Index/paren',
        'shop'=>'api/Index/shop',
        'shopcar'=>'api/Index/shopcar',
        'shopcate'=>'api/Index/shopcate',
    ],
    //变量规则
    '__pattern__' => [
    ],
//        域名绑定到模块
//        '__domain__'  => [
//            'admin' => 'admin',
//            'api'   => 'api',
//        ],
];
